package com.hndct.dao;

import org.springframework.data.repository.query.Param;

import java.util.List;

/**
 * @ProjectName: manage
 * @PachageName: com.hndct.dao
 * @Author: YuZhenDong
 * @Discription: TODO
 * @Date: 2019/4/1
 * ClassName: BasicMapper
 */
public interface BasicMapper<T> {
    List<T> getListByT(T t) throws Exception;

    int delete(@Param("id") String id)throws Exception;

    int getCounts(String param)throws Exception;

    List<T> getListByParam(String param)throws Exception;

    List<T> getLists()throws Exception;

    int getCount()throws Exception;
}
